import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import config from './config';
import store from './store';

// import Antd
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';

// 导入权限指令
import PermissionDirective from './directives/permission';

const app = createApp(App);
app.use(router).use(config).use(store).use(Antd).use(PermissionDirective).mount('#app');